package net.pinnoocle.playdao.entity.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.pinnoocle.playdao.entity.group.UpdateGroup;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-11-02 11:48
 */
@Data
public class SaveInformParams {

    @ApiModelProperty("通知id")
    @NotNull(message = "通知id不能为空",groups = UpdateGroup.class)
    private String informId;

    @ApiModelProperty("通知标题")
    @NotNull(message = "通知标题不能为空")
    private String title;

    @ApiModelProperty("通知副标题")
    @NotNull(message = "通知副标题能为空")
    private String subTitle;

    @ApiModelProperty("通知内容")
    @NotNull(message = "通知内容不能为空")
    private String content;

    @ApiModelProperty("通知类型 0 产品动态 1 店铺通知")
    private Integer type;

    @ApiModelProperty("店铺id（通知类型为1时）")
    private String shopId;
}
